/* 全局样式重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
.site-header {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.site-title h1 {
    font-size: 24px;
    color: #4A90E2;
    margin-bottom: 5px;
}

.slogan {
    font-size: 16px;
    color: #666;
}

/* 导航样式 */
.main-nav {
    background-color: #4A90E2;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-nav a.active, .main-nav a:hover {
    background-color: #357ABD;
    border-bottom: 3px solid #fff;
}

/* 横幅样式 */
.banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 主体内容布局 */
.site-content {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    gap: 20px;
    padding: 20px 30px;
}

/* 侧边栏样式 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar section h2 {
    font-size: 18px;
    color: #4A90E2;
    padding-bottom: 8px;
    border-bottom: 2px solid #4A90E2;
    margin-bottom: 15px;
}

.news-broadcast table, .notices ul, .inspiration ul, .quick-links ul {
    width: 100%;
}

.notices li, .inspiration li, .quick-links li {
    list-style: none;
    margin-bottom: 10px;
}

.notices a, .inspiration a, .quick-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notices a:hover, .inspiration a:hover, .quick-links a:hover {
    color: #4A90E2;
    text-decoration: underline;
}

.qq-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qq-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #7ED321;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qq-links a:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 中间内容区样式 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.activity-item, .news-item {
    background-color: #F8F9FA;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.activity-item h3, .news-item h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}

.activity-item p, .news-item p {
    font-size: 15px;
    color: #666;
}

/* 底部样式 */
.site-footer {
    background-color: #f5f5f5;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.copyright {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.contact {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.sitemap a {
    font-size: 13px;
    color: #4A90E2;
    text-decoration: none;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .site-content {
        grid-template-columns: 40% 60%;
    }
    .right-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-content {
        grid-template-columns: 1fr;
    }
    .left-sidebar {
        display: none;
    }
    .main-nav ul {
        flex-wrap: wrap;
    }
    .main-nav a {
        padding: 10px 15px;
        font-size: 14px;
    }
}